<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo ($seo_title); ?></title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="/Public/static/Admin/js/plugins/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/Public/static/Admin/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/Public/static/Admin/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/Public/static/Admin/css/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/Public/static/Admin/css/dist/css/skins/_all-skins.min.css">
    <!-- iCheck -->
    <link rel="stylesheet" href="/Public/static/Admin/js/plugins/iCheck/flat/blue.css">
    <link rel="stylesheet" href="/Public/static/Admin/css/dev.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/Public/static/Admin/js/html5shiv.min.js"></script>
    <script src="/Public/static/Admin/js/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

<header class="main-header">
<!-- Logo -->
<a href="/" class="logo">
    <!-- mini logo for sidebar mini 50x50 pixels -->
    <span class="logo-mini"><b><?php echo (C("WEB_TITLE")); ?></b></span>
    <!-- logo for regular state and mobile devices -->
    <span class="logo-lg"><b><?php echo (C("WEB_TITLE")); ?></b>管理系统</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
    <span class="sr-only">Toggle navigation</span>
</a>

<div class="navbar-custom-menu">
<ul class="nav navbar-nav">

<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <img src="/Public/static/Admin/css/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
        <span class="hidden-xs"><?php echo ($_SESSION['user']['unick']); ?></span>
    </a>
    <ul class="dropdown-menu">
        <!-- User image -->
        <li class="user-header">
            <img src="/Public/static/Admin/css/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">

            <p>
                Alexander Pierce - Web Developer
                <small>Member since Nov. 2012</small>
            </p>
        </li>
        <!-- Menu Body -->
        <li class="user-body">
            <div class="row">
                <div class="col-xs-4 text-center">
                    <a href="#">Followers</a>
                </div>
                <div class="col-xs-4 text-center">
                    <a href="#">Sales</a>
                </div>
                <div class="col-xs-4 text-center">
                    <a href="#">Friends</a>
                </div>
            </div>
            <!-- /.row -->
        </li>
        <!-- Menu Footer-->
        <li class="user-footer">
            <div class="pull-left">
                <a href="#" class="btn btn-default btn-flat">个人信息</a>
            </div>
            <div class="pull-right">
                <a href="<?php echo U('Public/logout');?>" class="btn btn-default btn-flat">退出</a>
            </div>
        </li>
    </ul>
</li>
<!-- Control Sidebar Toggle Button -->
<li>
    <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="/Public/static/Admin/css/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p><?php echo session('user.unick');?></p>
                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>
        <!-- search form -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
            </div>
        </form>
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">菜单</li>
            
                <?php if(is_array($personMenuList)): $i = 0; $__LIST__ = $personMenuList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="treeview <?php if(stripos($vo['url'],$controller) !== false) echo 'active';?> ">
                    <a href="#">
                        <i class="fa fa-dashboard"></i> <span><?php echo ($vo["title"]); ?></span>
                    <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if(is_array($vo["sub"])): $i = 0; $__LIST__ = $vo["sub"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?><li <?php if(stripos($vo2['url'],$controller) !== false) echo 'class="active"';?> ><a href="<?php echo U($vo2['url']);?>"><i class="fa fa-circle-o"></i> <?php echo ($vo2["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>

                    </ul>
                </li><?php endforeach; endif; else: echo "" ;endif; ?>
            
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
    <h1>
        <?php echo ($title); ?>

    </h1>
    <ol class="breadcrumb">
        <li><a href="/"><i class="fa fa-dashboard"></i> 首页</a></li>
        <li class="active"><?php echo ($title); ?></li>
    </ol>
</section>

<!-- Main content -->
<section class="content">
    
    <div class="row">
        <div class="col-md-12">
<!-- Horizontal Form -->
        <div class="box box-info">
            <div class="box-header with-border">
                <h3 class="box-title">Horizontal Form</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form class="form-horizontal" method="post" action="<?php echo U('Build/buildCon');?>">
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">模块名字 (required)</label>
                        <div class="col-sm-10">
                            <input class=" form-control"  name="module" minlength="2" type="text" required value="Admin" placeholder="模块名字"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">控制器名字 (required)</label>
                        <div class="col-sm-10">
                            <input class=" form-control"  name="controller" minlength="2" type="text" required value="Test" placeholder="控制器名字"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">模型名字 (required)</label>
                        <div class="col-sm-10">
                            <input class=" form-control"  name="model" minlength="2" type="text" required value="Test" placeholder="模型名字"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">表名 (required,不用前缀)(required)</label>
                        <div class="col-sm-10">
                            <input class=" form-control"  name="table" minlength="2" type="text" required value="Test" placeholder="表名"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">功能描述 (required)</label>
                        <div class="col-sm-10">
                            <input class=" form-control"  name="description" minlength="2" type="text" required value="Test" placeholder="测试"/>
                        </div>
                    </div>

                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <div class="row">
                       <div class="col-md-offset-4">
                           <button type="reset" class="btn btn-default">取消</button>&nbsp;&nbsp;&nbsp;
                           <button type="submit" class="btn btn-info ">提交</button>
                        </div>
                    </div>

                </div>
                <!-- /.box-footer -->
            </form>
        </div>
<!-- /.box -->
         </div>
    </div>


</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
    
    <div class="pull-right hidden-xs">
        <b>Version</b> 2.3.6
    </div>
    <strong>Copyright &copy; 2014-2016 <a href="http://almsaeedstudio.com">Almsaeed Studio</a>.</strong> All rights
    reserved.
    
</footer>

</div>
<!-- ./wrapper -->

<!-- jQuery 2.2.3 -->
<script src="/Public/static/Admin/js/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="/Public/static/Admin/js/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="/Public/static/common/js/jquery.form.js"></script>
<script src="/Public/static/common/validate/jquery.validate.min.js"></script>
<script src="/Public/static/common/validate/localization/messages_zh.min.js"></script>
<script src="/Public/static/Admin/css/dist/js/app.min.js"></script>
<!--dev js-->
<script src="/Public/static/Admin/js/dev.js"></script>



</body>
</html>